package com.sugar.follow.up.module.business.controller.admin.publicityeducation.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 宣教 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PublicityEducationRespVO {

    @Schema(description = "宣教ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10269")
    @ExcelProperty("宣教ID")
    private Long id;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("标题")
    private String title;

    @Schema(description = "封面图", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("封面图")
    private String coverImage;

    @Schema(description = "所属分类ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18153")
    @ExcelProperty("所属分类ID")
    private Long clsId;

    @Schema(description = "内容详情", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("内容详情")
    private String content;

    @Schema(description = "作者名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("作者名")
    private String authorName;

    @Schema(description = "作者头像", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("作者头像")
    private String authorAvatar;

    @Schema(description = "浏览量", requiredMode = Schema.RequiredMode.REQUIRED, example = "21961")
    @ExcelProperty("浏览量")
    private Long lookCount;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
